import java.util.HashSet;
import java.util.Set;

public class Dish {
/**
 * <pre>
 *           0..*     1..1
 * Dish ------------------------- Resturant
 *           dish        &lt;       resturant
 * </pre>
 */
private Resturant resturant;

public void setResturant(Resturant value) {
   this.resturant = value;
}

public Resturant getResturant() {
   return this.resturant;
}

/**
 * <pre>
 *           1..1     0..*
 * Dish ------------------------- Order
 *           dish        &gt;       order
 * </pre>
 */
private Set<Order> order;

public Set<Order> getOrder() {
   if (this.order == null) {
this.order = new HashSet<Order>();
   }
   return this.order;
}

/**
 * <pre>
 *           1..1     0..*
 * Dish ------------------------- Menu
 *           dish        &gt;       menu
 * </pre>
 */
private Set<Menu> menu;

public Set<Menu> getMenu() {
   if (this.menu == null) {
this.menu = new HashSet<Menu>();
   }
   return this.menu;
}

	private String dishCode;
	private String dishName;
	private double dishPrice;
	private String dishCategory;
	
public String getDishCode() {
   // TODO implement this operation
   throw new UnsupportedOperationException("not implemented");
}

public String getDishName() {
   // TODO implement this operation
   throw new UnsupportedOperationException("not implemented");
}

public int getDishPrice() {
   // TODO implement this operation
   throw new UnsupportedOperationException("not implemented");
}

public String getDishCategory() {
   // TODO implement this operation
   throw new UnsupportedOperationException("not implemented");
}

public Dish (String dName, int dPrice, String dCode, String dCategory) {
	   // TODO implement this operation
	  
	}
public void setDishCode(String value) {
   this.dishCode = value;
}
public void setDishName(String value) {
   this.dishName = value;
}
public void setDishPrice(double value) {
   this.dishPrice = value;
}
public void setDishCategory(String value) {
   this.dishCategory = value;
}

}

